package com.example.myui.adapter;

import android.content.Context;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.myui.R;
import com.example.myui.activity.ListAndGrideActivity;

import java.util.ArrayList;

/**
 * Created by Administrator on 2017/12/21/021.
 */

public class LeftAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    private Context mContext;

    public LeftAdapter(ListAndGrideActivity listAndGrideActivity, int item_title, ArrayList<String> strings) {
        super(item_title, strings);
        this.mContext = listAndGrideActivity;
    }

    @Override
    protected void convert(BaseViewHolder holder, String item) {
        holder.setText(R.id.tv_title, item);
    }
}
